package com.hdoit.apollo.web.stock.modelconfig;

import com.tennetcn.web.component.attribute.DisplayNameAttribute;
import com.tennetcn.web.component.attribute.base.ModelMetadataAttributeConfiguration;

/**
 * @author      tancongzhu
 * @email       
 * @createtime  2018年04月26日 15:52:38
 * @comment
 */
public class StockConfig extends ModelMetadataAttributeConfiguration{
    public StockConfig(){
        this.setProperty("stockNum")
            .hasAttribute(new DisplayNameAttribute("库存数"));

        this.setProperty("stockDebt")
            .hasAttribute(new DisplayNameAttribute("尚欠数"));

        this.setProperty("cargoId")
            .hasAttribute(new DisplayNameAttribute("货物Id"));

        this.setProperty("shopId")
            .hasAttribute(new DisplayNameAttribute("门店id"));
        
        this.setProperty("comment")
        	.hasAttribute(new DisplayNameAttribute("备注"));
        
        this.setProperty("cargo.cargoName")
    		.hasAttribute(new DisplayNameAttribute("名称"));
        
        this.setProperty("cargo.cargoNo")
    		.hasAttribute(new DisplayNameAttribute("编号"));
    }
}
